/**
 * 
 */
package com.feib.stms.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.feib.stms.dao.TempDeliveryPaymentDao;
import com.feib.stms.model.TempDeliveryPayment;
import com.feib.stms.model.TempUploadFile;
import com.feib.stms.service.TempDeliveryPaymentService;

/**
 * @author Jimmy Liu
 *
 */
@Service("tempDeliveryPaymentService")
public class TempDeliveryPaymentServiceImpl extends BaseTempPaymentServiceImpl<TempDeliveryPaymentDao, TempDeliveryPayment> implements TempDeliveryPaymentService  {

	private static final long serialVersionUID = 4696408471174936672L;
	
	@Resource(name="tempDeliveryPaymentDao")
	private TempDeliveryPaymentDao tempDeliveryPaymentDao;

	@Override
	protected TempDeliveryPaymentDao getDao() {
		return tempDeliveryPaymentDao;
	}
	
	@Override
	public void summaryPaymentChk(TempUploadFile tempUploadFile) {
		tempDeliveryPaymentDao.copyToTempDeliveryPamtSum(tempUploadFile);
	}

}
